package com.wyh.service.serviceImpl.g3serviceimpl;

import com.wyh.domain.vo.g3vo.ReconciliationVO;
import com.wyh.mapper.g3mapper.ReconciliationMapper;
import com.wyh.service.g3service.ReconciliationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Reconciliationlmpl implements ReconciliationService {

    @Autowired
    private ReconciliationMapper reconciliationMapper;

    @Override
    public List<ReconciliationVO> findReconciliation(Integer id) {
        return reconciliationMapper.findReconciliation(id);
    }

    @Override
    public void updateReceivable(ReconciliationVO reconciliationVO) {
        reconciliationMapper.updateReceivable(reconciliationVO);
    }

    @Override
    public void insertCharging(ReconciliationVO reconciliationVO) {
        reconciliationMapper.insertCharging(reconciliationVO);
    }

    @Override
    public ReconciliationVO findChargingByCid(Integer id) {
        return reconciliationMapper.findChargingByCid(id);
    }
}
